import request from '@/utils/request'

// 验布列表
export const GetListAPI = params => {
  return request({
    url: '/production/cloth-inspection/list',
    method: 'GET',
    params
  })
}

// 验布
export const ClothInspectionAPI = data => {
  return request({
    url: '/production/cloth-inspection/clothInspection',
    method: 'POST',
    data
  })
}

// 验布明细列表
export const GetDetailListAPI = params => {
  return request({
    url: '/production/cloth-inspection-detail/list',
    method: 'GET',
    params
  })
}
